package com.jwiki.app.jkeeper.repository.model;

import java.util.Date;

import org.apache.ibatis.type.Alias;

import com.jwiki.app.jkeeper.repository.BaseModel;

@Alias("PropertyModel")
public class PropertyModel extends BaseModel<Long> {

    private String name;

    private Date buyDate;

    private Double price;

    private String imageUrl;

    private Long userId;

    private Long categoryId;

    private String description;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getBuyDate() {
        return buyDate;
    }

    public void setBuyDate(Date buyDate) {
        this.buyDate = buyDate;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

}
